ASensor_getHighestDirectReportRateLevel

Get the highest direct rate level that a sensor supports.

Available since API level 26.

\param sensor a {@link ASensor} to denote the sensor to be checked.

\return a ASENSOR_DIRECT_RATE_... enum denoting the highest rate level supported by the sensor. If return value is {@link ASENSOR_DIRECT_RATE_STOP}, it means the sensor does not support direct report.

extern (C)
static if(__ANDROID_API__ >= 26)
int
ASensor_getHighestDirectReportRateLevel
()

Meta